package com.example.interceptmybatis.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @ClassName TbUser
 * @Description TODO
 * @Author 郭敖
 * @Date 2024年07月04日 15:47
 * @Version 1.0
 */
@TableName("tb_user")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TbUser {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String realName;
    private String password;
    private String phone;
    private String nickName;
    private Integer integral;
    private String address;
    private String salt;
    private Integer state;
}
